package com.mall.product.feign;


import com.mall.common.domain.MallUser;
import com.mall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wangy
 * @version 1.0
 * @description: TODO
 */
@FeignClient("mall-system")
public interface SystemFeignService {
    /**
     * 通过id查找用户信息
     *
     * @param id 参数
     * @return Result<MallUser>
     */
    @GetMapping("findUserById/{id}")
    public Result<MallUser> findUserById(@PathVariable Integer id);

}
